package com.zxm.edu.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 课程
 *
 * @author silencezheng
 * @date 2022/07/29
 * @since 2022-05-18
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CourseDTO {

    /**
     * id
     */
    private Integer id;

    /**
     * 课程分类id
     */
    private Integer categoryId;
    /**
     * 课程分类
     */
    private String categoryName;

    /**
     * 课程缩略图
     */
    private String courseCover;

    /**
     * 课程名
     */
    private String name;

    /**
     * 课程简介
     */
    private String content;
    private String isTop;
    /**
     * 链接
     */
    private String url;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;
    private String isFree;
    private String money;
}
